#!/bin/bash
VAR_VM_ARGUMENTS="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"
nohup java $VAR_VM_ARGUMENTS  -jar gams2.war >server.log 2>&1 &
echo "$!" > pid